package cn.edu.nju.software.bean.storage;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class Book {

	private int bookID;
	private String isbn;
	private String title;
	private String author;
	private String publisher;
	private int categoryID;
	private String abstractInfo;
	private BigDecimal price;
	private int sales;
	private Timestamp availableDate;
	private int stock;
	private String picPath;
	private String attachPath;
	
	public Book() {
	}

	public Book(int bookID, String isbn, String title, String author,
			String publisher, int categoryID, String abstractInfo,
			BigDecimal price, int sales, Timestamp availableDate, int stock,
			String picPath, String attachPath) {
		this.bookID = bookID;
		this.isbn = isbn;
		this.title = title;
		this.author = author;
		this.publisher = publisher;
		this.categoryID = categoryID;
		this.abstractInfo = abstractInfo;
		this.price = price;
		this.sales = sales;
		this.availableDate = availableDate;
		this.stock = stock;
		this.picPath = picPath;
		this.attachPath = attachPath;
	}

	public int getBookID() {
		return bookID;
	}

	public void setBookID(int bookID) {
		this.bookID = bookID;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public int getCategoryID() {
		return categoryID;
	}

	public void setCategoryID(int categoryID) {
		this.categoryID = categoryID;
	}

	public String getAbstractInfo() {
		return abstractInfo;
	}

	public void setAbstractInfo(String abstractInfo) {
		this.abstractInfo = abstractInfo;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public int getSales() {
		return sales;
	}

	public void setSales(int sales) {
		this.sales = sales;
	}

	public Timestamp getAvailableDate() {
		return availableDate;
	}

	public void setAvailableDate(Timestamp availableDate) {
		this.availableDate = availableDate;
	}

	public int getStock() {
		return stock;
	}

	public void setStock(int stock) {
		this.stock = stock;
	}

	public String getPicPath() {
		return picPath;
	}

	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}

	public String getAttachPath() {
		return attachPath;
	}

	public void setAttachPath(String attachPath) {
		this.attachPath = attachPath;
	}
}
